/**
 * @author Nicolas CARPi <nico-git@deltablot.email>
 * @author Marcel Bolten <github@marcelbolten.de>
 * @copyright 2022 Nicolas CARPi
 * @see https://www.elabftw.net Official website
 * @license AGPL-3.0
 * @package elabftw
 */

@use './variables';

#extendedArea {
  background-color: transparent;
  caret-color: variables.$mediumstrong;
  color: transparent;
  position: relative;
  z-index: 1;
}

#search-highlighting {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

#extendedArea,
#search-highlighting {
  margin: 0;
  overflow: auto;
  resize: vertical;
}

#extendedArea,
#search-highlighting,
#search-highlighting * {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
  tab-size: 2;
  white-space: pre-wrap;
  word-break: normal;
  word-spacing: normal;
  word-wrap: break-word;
}
